package com.ctn.information.data.model;

import java.io.Serializable;

import com.ctn.information.util.JsonField;

import android.graphics.Bitmap;
/**
 * @author Zale
 *
 */
public class Menu extends BaseObj  implements Serializable,Comparable<Menu>{
	private static final long serialVersionUID = 5946455621982822907L;
	@JsonField("title")
	private String label;
	private MenuLevel level;
	private String url;
	
	
	public String getLabel() {
		return label;
	}


	public void setLabel(String label) {
		this.label = label;
	}


	public MenuLevel getLevel() {
		return level;
	}


	public void setLevel(MenuLevel level) {
		this.level = level;
	}

	public String getUrl() {
		return url;
	}


	public void setUrl(String url) {
		this.url = url;
	}


	@Override
	public int compareTo(Menu o) {
		return this.getId().compareTo(o.getId());
	}

}
